<template>
  <div>
  
  测试
  </div>
</template>

<script>
export default {
  name: 'MyMusic',
  data() {
    return {}
  },
  created(){
    this.getMyMusicList()
    this.getUserMusic()
  },
  methods:{
    //获取
    getMyMusicList(){
      this.$get('/user/subcount').then(data=>{
          console.log(data)
      })
    },
    // 获取用户菜单
    getUserMusic(){
      this.$get('/user/playlist',{uid: localStorage.getItem('userId')}).then(data=>{
        console.log(data)
      })
    }
  }
}
</script>

<style scoped lang="less"></style>
